<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/sys/include/taglib.jsp"%>
<!DOCTYPE html>
<html lang="en">
<link rel="stylesheet" href="${path}/res/app/css/detail.css">
<link rel="stylesheet" href="${path}/res/app/css/mes.css">
<script type="text/javascript" src="${path}/cms/js/jquery-1.8.3.min.js"></script>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<title>农产品质量安全追溯系统-环节详情</title>
</head>
<body>
<div class="topBox" id="topBox">
    <p>${plant.cropName }</p>
    <p>所属园区：${plant.parkName }</p>
    <p>所属大棚：${plant.blockName }</p>
    <c:if test="${plant.plantType == 1 }">
    <p>种植时间：<fmt:formatDate value="${plant.beginTime }" pattern="yyyy-MM-dd"/></p>
    </c:if>
    <c:if test="${plant.plantType == 2 }">
    <p>养殖时间：<fmt:formatDate value="${plant.beginTime }" pattern="yyyy-MM-dd"/></p>
    </c:if>
</div>
<div class="detailBox">
      <ul class="detList">
          <li><span>环节名称</span><span>${proRecord.linkName }</span></li>
          <li><span>作业人员</span><span>${proRecord.workerName }</span></li>
          <li><span>作业日期</span><span><fmt:formatDate value="${proRecord.workdate}" pattern="yyyy-MM-dd"/></span></li>
          <li><span>作业时间</span><span>
          <c:if test="${proRecord.worktime==1}">上午</c:if>
          <c:if test="${proRecord.worktime==2}">下午</c:if>
          </span></li>
          <c:forEach items="${proRecord.proRecordImgses}" var="img">
         	<img style="width:100%;" alt="" src="${filepath}/prorecord_img/${img.imgPath}">
          </c:forEach>
      </ul>
  </div>
</body>
</html>